﻿@model WI.CandidateManager.Common.Data.Entities.Homework

@{
    ViewBag.Title = @Resources.Common.CommonHomeworkDelete;
}

<h2>@Resources.Common.CommonHomeworkDelete</h2>

<h3>@Resources.Common.CommonDeleteQuestion</h3>

<table class="bordered">
    <tr>
        <td class="vertical-header">@Html.DisplayNameFor(model => model.Name)</td>
        <td>@Html.DisplayFor(model => model.Name, new { @class = "" })</td>
    </tr>
    <tr>
        <td class="vertical-header">@Html.DisplayNameFor(model => model.Description)</td>
        <td><pre>@Html.DisplayFor(model => model.Description, new { @class = "" })</pre></td>
    </tr>
</table>

@using (Html.BeginForm("Delete", "Homeworks", new { @HomeworkId = Model.Id }, FormMethod.Post))
{
    <p>
        @Html.ActionLink(@Resources.Common.CommonButtonCancel, "List", "Homeworks", new { @class = "common-btn-large BlueColor" }) <input type="submit" value=@Resources.Common.CommonButtonDelete class="common-btn-large RedColor"/>
    </p>
}